import java.io.*;
/**
 * Created with IntelliJ IDEA.
 * User: Marina
 * Date: 10/5/13
 * Time: 7:24 PM
 * To change this template use File | Settings | File Templates.
 */
public class linePrint {
    private String input;
    public int number;

    public static void main(String[] args) {
        linePrint printer = new linePrint();
        printer.setNumber(printer.getUserInput("type number of stars"));
        printer.printNStars();
    }

    public void setNumber(String input) {
        this.number = Integer.parseInt(input);
    }

    public void printNStars() {
        for(int i = 0; i < number; i++) {
            System.out.print("*");
        }
    }

    public String getUserInput(String prompt) {
        String inputLine = null;
        System.out.print(prompt + " ");
        try {
            BufferedReader inputStream = new BufferedReader(new InputStreamReader(System.in));
            inputLine = inputStream.readLine();
            if(inputLine.length() == 0) return null;
        } catch (IOException e) {
            System.out.println("IOException: " + e);
        }
        return inputLine;
    }
}
